Skip to content

Conversation

alexcjohnson
Copy link
Collaborator

fixes #1352 - makes autorange work with bar traces on log axes

@etpinard please review

@etpinard etpinard added this to the v1.25.0 milestone Mar 14, 2017
}
}
maybeExpand(barTop);
maybeExpand(barBase);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice simplification.

});

var ya = gd._fullLayout.yaxis;
expect(Axes.getAutoRange(ya)).toBeCloseToArray([1.496, 2.027], undefined, '(ya.range)');
Copy link
Contributor

@etpinard etpinard Mar 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice tests! I wouldn't be opposed to adding a bar log image test too if you're up for it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be nice, but for now I think I'd better move on.

@etpinard
Copy link
Contributor

etpinard commented Mar 14, 2017

💃 image test or not.

Thanks a lot! That would have taken me at least a full day to go fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autorange for log plot doesn't show all the data
2 participants